<?php


namespace app\youfutong\controllers;


use App\common\components\BaseController;


/**
 * @desc 【酉付通】--支付端--基类
 * Class YFTBaseController
 * @package App\youfutong\controllers
 */
class YFTBaseController extends BaseController
{
    //端口类型
    const PortType = 3;

    /**
     * 获取模拟数据
     * @param $class
     * @param $action
     * @param $code
     * @return array|mixed
     */
    public static function getYFTData($class, $action, $code = 0)
    {
        //获取数据
        return self::getData($class, $action, $code, self::PortType);
    }


}
